﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
   [CustomAttribute(TableName = "pi_purchases_info", Description = "外部采购数据模型")]
   public class DbPurchases
    {
        private int? _id;
        private string _plcode;
        private string _supplier;
        private string _number;
        private string _unit;
        private string _status;
        private string _relationorder;
        private string _createtime;
        private string _createuser;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 关联计划编码
        /// </summary>
        public string plCode
        {
            set { _plcode = value; }
            get { return _plcode; }
        }
        /// <summary>
        /// 供方编码
        /// </summary>
        public string supplier
        {
            set { _supplier = value; }
            get { return _supplier; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 关联单据号(U8)
        /// </summary>
        public string relationOrder
        {
            set { _relationorder = value; }
            get { return _relationorder; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        public string c_ceng { get; set; }
    }
}
